package view.generaldesign;

import javax.swing.*;

/**
 *
 * @author Sonny Sandberg
 */
public class UserLoggedInPanel
{
    private JPanel userPanel;
    
    public UserLoggedInPanel()
    {
        userPanel = new JPanel(null);
        userPanel.setBounds(610, 110, 405, 30);
        userPanel.setOpaque(false);
        
        JLabel label = new JLabel("");
        label.setBounds(0, 0, 400, 30);
        label.setFont(DesignLayout.STANDARD.deriveFont(13f));
        label.setHorizontalAlignment(SwingConstants.RIGHT);
        label.setForeground(DesignLayout.T_FIELD_BG_COLOR);
        
        userPanel.add(label);
        userPanel.setVisible(false);
    }

    public JPanel getPanel()
    {
        return userPanel;
    }
}
